<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>rxcornor demo</title>
  <script src="https://cdn.jsdelivr.net/npm/rxcornor@0.0.8/dist/index.js" id="rxcornor" link="https://github.com/cheere/rxcornor" target="_blank" title="Github" className="a b"></script>

  <!-- <script src="dist/index.js?97" id="rxcornor" link="https://github.com/cheere/rxcornor" target="_blank" title="Github" className="a b"></script> -->

   <!-- 用于加载 README.md -->
   <script src="https://cdn.jsdelivr.net/npm/jquery@3.4.1/dist/jquery.min.js"></script>
   <!-- <script src="https://cdn.jsdelivr.net/npm/marked@4.0.0/marked.min.js"></script> -->
   <script src="marked.js"></script>
</head>
<body>
  <h1>看 源代码中  div-> class="rxcornor"</h1>

  <a href="./vue" target="_blank" rel="noopener noreferrer"> Vue demo</a>
  <br>
  <a href="./react" target="_blank" rel="noopener noreferrer"> React demo</a>

  <br>
  <hr>
  <div id='content'></div>

  <!-- 加载 md -->
<script type="text/javascript">
  $(function(){
    let res = null;
    $.ajax({
        url: 'README.md',
        dataType: 'text',
        success: function(data) {
          document.getElementById('content').innerHTML = marked.parse(data)
        }
    });
  });
</script>
</body>
</html>